<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <th:block th:include="public/include :: header" />
 	<meta name="keywords" th:content="${biz.qyparam}">
	<meta name="description" th:content="${biz.qyparam}">
    <title>[[${biz.qyparam}]]-搜索结果</title>
    
    <link rel="stylesheet" href="/css/reset.css">
    <link rel="stylesheet" href="/css/headfoot.css" />
    <link rel="stylesheet" href="/css/index.css">
    
    <link rel="stylesheet" href="/css/second.css">
</head>

<body class="huibg">
    <!--头部部分-->
    <div class="heads header">
    </div>
    
    <div class="main-md">
        <div class="bgff pad20">
            <div class="se_tit">
                <h2 class="fnt_18 col_666"><font style="color: red;">[[${biz.qyparam}]]</font>-搜索结果-<strong>[[${biz.cmsConts.size()}]]条</strong></h2>
            </div>
            <div class="jian jians" id="divconts">
                <ul>
                        
                    <li th:each="cont,st : ${biz.cmsConts}">
                    	<a th:href="@{'/cont/detail/'+${orgCode}+'/'+${cont.contId}+'.html'}" target="_blank">
                            <div class="jian_img">
                                <img th:src="${cont.contShortPic}" th:alt="${cont.contTitle}" >
                            </div>
                            <div class="jian_text">
                                <div class="jian_top">
                                    <h4 class="fnt_18 col_333 textfull1">[[${cont.contTitle}]]</h4>
                                    <span class="fnt_14 col_666">[[${cont.cateTitle}]] - [[${#dates.format(cont.contPubDatetime,'yyyy-MM-dd')}]]</span>
                                </div>
                                <p class="fnt_14 col_666 textfull2">作者：[[${cont.contAuthor}]]&nbsp;&nbsp;来源：[[${cont.contSource}]]&nbsp;&nbsp;<br/>摘要：[[${cont.contDesc}]]</p>
                                <span class="fnt_16 cent col_lan"> 点击浏览 </span>
                        </a>
                        <div style="clear:both"></div>
                     </li>
                    
                </ul>
            </div>
            
            
        </div>
    </div>
    
    <!--页尾-->
    <div class="foots">
    </div>
    
    <th:block th:include="public/include :: footer" />
    <th:block th:include="public/include :: layer-js" />
    <div th:replace="public/include :: SuperSlide-js" ></div>
    <script src="/js/index.js"></script>
    <script>
	    var defNewImg = '[[${biz.siteInfo.defaultContPic}]]';
        var skey = '[[${biz.qyparam}]]';
        var windowWidth = $(window).width();
        if (windowWidth < 768) {

        }
        if (windowWidth >= 768) {

        }
       
        
        $(function() {
	        $(".heads").load("/head/[[${biz.orgCode}]]",function(){
	        	 //栏目选中
		        $(".main-md ul li").removeClass("active");
	        });
	        $(".foots").load("/foot.html");
	        //默认新闻图
	        $(".jians img").attr("onerror","src='"+defNewImg+"'");
	        //加重搜索字
	        toRed(skey,"divconts");
        });
        
        function toRed(content, id) {
            var bodyHtml = $("#" + id).html();
            reger = new RegExp("(>|^)([^<]*)(" + content + ")([^>]*<)","gm");
            reslut = bodyHtml.replace(reger, "$1$2<font color='red'>$3</font>$4");
            $("#" + id).html(reslut);
        }
    </script>
</body>

</html>